//
//  BIndacatorView.h
//  iLook
//
//  Created by Zhang Yinghui on 11-7-28.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, BKTipStyle) {
    BKTipStyleBottom        = 0,
    BKTipStyleTop   = 1
};

@interface BKIndicator : NSObject {

}
+ (UIView *)showMessage:(NSString *)msg duration:(float) t inView:(UIView *)view  completion:(void (^)(void))callback;
+ (UIView *)showMessage:(NSString *)msg duration:(float) t  completion:(void (^)(void))callback;
+ (UIView *)showMessageAndFadeOut:(NSString *)msg  completion:(void (^)(void))callback;
+ (UIView *)showMessage:(NSString *)msg icon:(UIImage *)icon inView:(UIView *)view;
+ (UIView *)showMessage:(NSString *)msg inView:(UIView *)view;
+ (UIView *)showMessage:(NSString *)msg;
+ (void)fadeOutWithCompletion:(void (^)(void))callback;
+ (void)fadeOutWithDelay:(float)t completion:(void (^)(void))callback;


//+ (UIView *)showTips:(NSString*)tips top:(CGFloat)height inView:(UIView *)container duration:(float) duration;
//+ (UIView *)showTips:(NSString*)tips bottom:(CGFloat)height inView:(UIView *)container duration:(float) duration;
//+ (UIView *)showTips:(NSString*)tips style:(BKTipStyle)style inView:(UIView *)container duration:(float) duration;

+ (UIView *)showTips:(NSString*)tips offsetY:(CGFloat)offsetY inView:(UIView *)container duration:(float) duration completion:(void (^)(void))callback;
+ (UIView *)showTips:(NSString*)tips inView:(UIView *)container  duration:(float) duration completion:(void (^)(void))callback;
+ (UIView *)showTips:(NSString*)tips duration:(float) duration completion:(void (^)(void))callback;
+ (void)tipFadeOutWithDelay:(float)t completion:(void (^)(void))callback;
@end
